const seq = require('../../seq')
const {STRING, TEXT,INTEGER} = require('../../types')

const Reply = seq.define('reply', {
  content: {
    type: TEXT,
    allowNull: false,
    comment: '回复内容'
  },
  uid: {
    type: INTEGER,
    allowNull: false,
    comment: '回复人id'
  },
  contentId: {
    type: INTEGER,
    allowNull: false,
    comment: '回复的帖子id'
  }
})

module.exports = Reply
